export default defineAppConfig({
  pages: [
    'pages/auth/login', // 登陆
    'pages/home/home', // tabbar 主页
    'pages/creation/creation', // tabbar 创作

    'pages/message/message', // tabbar 消息
    'pages/topic/topic', // tabbar 话题
    'pages/my/my', // tabbar 个人中心
    'pages/creation/camera', // 相机
    'pages/video/index', // 视频播放页
  ],
  tabBar: {
    list: [
      {
        pagePath: 'pages/home/home',
        text: '首页',
        iconPath: 'assets/images/tabbar/home.png',
        selectedIconPath: 'assets/images/tabbar/home-full.png',
      },
      {
        pagePath: 'pages/topic/topic',
        text: '话题',
        iconPath: 'assets/images/tabbar/xingqiu.png',
        selectedIconPath: 'assets/images/tabbar/xingqiu-full.png',
      },
      {
        pagePath: 'pages/creation/creation',
        text: '',
        iconPath: 'assets/images/tabbar/add.png',
        selectedIconPath: 'assets/images/tabbar/add.png',
      },
      {
        pagePath: 'pages/message/message',
        text: '消息',
        iconPath: 'assets/images/tabbar/xiaoxi.png',
        selectedIconPath: 'assets/images/tabbar/xiaoxi-full.png',
      },
      {
        pagePath: 'pages/my/my',
        text: '我的',
        iconPath: 'assets/images/tabbar/my.png',
        selectedIconPath: 'assets/images/tabbar/my-full.png',
      },
    ],
  },
  window: {
    navigationStyle: 'custom',
  },
});
